package com.a918.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class BlockInfo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer blockIndex;
    private String previousHash;
    private long timestamp;

    private String nodeIndex;
    private double credit;
    private double token;

    private int status;// 1 成功，0 作恶
}
